import * as React from 'react';
import {observer} from 'mobx-react'
import styles from './index.scss';

import Swiper from './Swiper'
import {IFinishType} from "../../../../type/firstType";

interface IProps {
    unFinished: IFinishType[]
}

@observer
class Home extends React.Component<IProps> {

    constructor(props) {
        super(props);
    }


    public render() {
        const {unFinished} = this.props
        return (
            <div className={styles.right}>
                <div className={styles.title}>当前服务跟踪</div>
                <Swiper unFinished={unFinished} />
            </div>
        );
    }
}

export default Home;
